home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Apple / Apple II TNs(Text).cpt / Apple II TNs(Text) / PDOS / TN.PDOS.020 < prev    next >
MacBinary  |  1989-11-15  |  6.6 KB  |  [TEXT/pdos]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: TN.PDOS.020

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Nov 15 12:35:54 1989, modified Wed Nov 15 12:35:54 1989, creator Apple ProDOS file system, type ASCII, 6177 bytes "TN.PDOS.020" , at 0x18a1 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[pdos]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 54 4e 2e 50 44 4f | 53 2e 30 32 30 00 00 00 |..TN.PDO|S.020...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 70 64 6f | 73 01 00 00 00 00 00 00 |.TEXTpdo|s.......|
|00000050| 00 00 00 00 00 18 21 00 | 00 01 7e a1 87 4e fa a1 |......!.|..~..N..|
|00000060| 87 4e fa 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.N......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 08 82 00 00 |........|........|
|00000080| 41 70 70 6c 65 20 49 49 | 0d 54 65 63 68 6e 69 63 |Apple II|.Technic|
|00000090| 61 6c 20 4e 6f 74 65 73 | 0d 5f 5f 5f 5f 5f 5f 5f |al Notes|._______|
|000000a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000c0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000d0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000e0| 5f 5f 5f 5f 5f 5f 0d 20 | 20 20 20 20 20 20 20 20 |______. | |
|000000f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000110| 20 20 20 20 20 20 20 20 | 20 44 65 76 65 6c 6f 70 | | Develop|
|00000120| 65 72 20 54 65 63 68 6e | 69 63 61 6c 20 53 75 70 |er Techn|ical Sup|
|00000130| 70 6f 72 74 0d 0d 0d 50 | 72 6f 44 4f 53 20 38 0d |port...P|roDOS 8.|
|00000140| 23 32 30 3a 20 20 20 20 | 4d 69 72 72 6f 72 65 64 |#20: |Mirrored|
|00000150| 20 44 65 76 69 63 65 73 | 20 61 6e 64 20 53 6d 61 | Devices| and Sma|
|00000160| 72 74 50 6f 72 74 0d 0d | 52 65 76 69 73 65 64 20 |rtPort..|Revised |
|00000170| 62 79 3a 20 20 20 20 4d | 61 74 74 20 44 65 61 74 |by: M|att Deat|
|00000180| 68 65 72 61 67 65 20 20 | 20 20 20 20 20 20 20 20 |herage | |
|00000190| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001a0| 20 20 20 20 20 20 20 20 | 4e 6f 76 65 6d 62 65 72 | |November|
|000001b0| 20 31 39 38 38 0d 57 72 | 69 74 74 65 6e 20 62 79 | 1988.Wr|itten by|
|000001c0| 3a 20 20 20 20 4d 61 74 | 74 20 44 65 61 74 68 65 |: Mat|t Deathe|
|000001d0| 72 61 67 65 20 20 20 20 | 20 20 20 20 20 20 20 20 |rage | |
|000001e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001f0| 20 20 20 20 20 20 20 20 | 20 20 20 4d 61 79 20 31 | | May 1|
|00000200| 39 38 38 0d 0d 54 68 69 | 73 20 54 65 63 68 6e 69 |988..Thi|s Techni|
|00000210| 63 61 6c 20 4e 6f 74 65 | 20 64 65 73 63 72 69 62 |cal Note| describ|
|00000220| 65 73 20 68 6f 77 20 50 | 72 6f 44 4f 53 20 38 20 |es how P|roDOS 8 |
|00000230| 72 65 61 63 74 73 20 77 | 68 65 6e 20 6d 6f 72 65 |reacts w|hen more|
|00000240| 20 74 68 61 6e 20 74 77 | 6f 20 53 6d 61 72 74 50 | than tw|o SmartP|
|00000250| 6f 72 74 20 0d 64 65 76 | 69 63 65 73 20 61 72 65 |ort .dev|ices are|
|00000260| 20 63 6f 6e 6e 65 63 74 | 65 64 2c 20 68 6f 77 20 | connect|ed, how |
|00000270| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 20 75 73 69 |applicat|ions usi|
|00000280| 6e 67 20 64 69 72 65 63 | 74 20 64 65 76 69 63 65 |ng direc|t device|
|00000290| 20 61 63 63 65 73 73 20 | 73 68 6f 75 6c 64 20 0d | access |should .|
|000002a0| 62 65 68 61 76 65 2c 20 | 61 6e 64 20 6f 74 68 65 |behave, |and othe|
|000002b0| 72 20 72 65 6c 61 74 65 | 64 20 69 73 73 75 65 73 |r relate|d issues|
|000002c0| 2e 20 20 54 68 69 73 20 | 4e 6f 74 65 20 73 75 70 |. This |Note sup|
|000002d0| 65 72 73 65 64 65 73 20 | 53 65 63 74 69 6f 6e 20 |ersedes |Section |
|000002e0| 36 2e 33 2e 31 20 6f 66 | 20 74 68 65 20 0d 50 72 |6.3.1 of| the .Pr|
|000002f0| 6f 44 4f 53 20 38 20 54 | 65 63 68 6e 69 63 61 6c |oDOS 8 T|echnical|
|00000300| 20 52 65 66 65 72 65 6e | 63 65 20 4d 61 6e 75 61 | Referen|ce Manua|
|00000310| 6c 2e 0d 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |l.._____|________|
|00000320| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000330| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000340| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000350| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000360| 0d 0d 41 6c 74 68 6f 75 | 67 68 20 53 6d 61 72 74 |..Althou|gh Smart|
|00000370| 50 6f 72 74 20 74 68 65 | 6f 72 65 74 69 63 61 6c |Port the|oretical|
|00000380| 6c 79 20 63 61 6e 20 68 | 61 6e 64 6c 65 20 75 70 |ly can h|andle up|
|00000390| 20 74 6f 20 31 32 37 20 | 64 65 76 69 63 65 73 20 | to 127 |devices |
|000003a0| 63 6f 6e 6e 65 63 74 65 | 64 20 74 6f 20 61 20 0d |connecte|d to a .|
|000003b0| 73 69 6e 67 6c 65 20 69 | 6e 74 65 72 66 61 63 65 |single i|nterface|
|000003c0| 20 28 69 6e 20 70 72 61 | 63 74 69 63 65 2c 20 65 | (in pra|ctice, e|
|000003d0| 6c 65 63 74 72 69 63 61 | 6c 20 63 6f 6e 73 69 64 |lectrica|l consid|
|000003e0| 65 72 61 74 69 6f 6e 73 | 20 63 75 72 74 61 69 6c |erations| curtail|
|000003f0| 20 74 68 69 73 20 0d 63 | 6f 6e 73 69 64 65 72 61 | this .c|onsidera|
|00000400| 62 6c 79 29 2c 20 50 72 | 6f 44 4f 53 20 38 20 63 |bly), Pr|oDOS 8 c|
|00000410| 61 6e 20 68 61 6e 64 6c | 65 20 6f 6e 6c 79 20 74 |an handl|e only t|
|00000420| 77 6f 20 64 65 76 69 63 | 65 73 20 70 65 72 20 73 |wo devic|es per s|
|00000430| 6c 6f 74 2e 20 20 54 68 | 69 73 20 69 73 20 62 65 |lot. Th|is is be|
|00000440| 63 61 75 73 65 20 0d 50 | 72 6f 44 4f 53 20 75 73 |cause .P|roDOS us|
|00000450| 65 73 20 62 69 74 20 37 | 20 6f 66 20 69 74 73 20 |es bit 7| of its |
|00000460| 75 6e 69 74 5f 6e 75 6d | 62 65 72 20 69 73 20 75 |unit_num|ber is u|
|00000470| 73 65 64 20 74 6f 20 64 | 69 73 74 69 6e 67 75 69 |sed to d|istingui|
|00000480| 73 68 20 64 72 69 76 65 | 73 20 66 72 6f 6d 20 65 |sh drive|s from e|
|00000490| 61 63 68 20 0d 6f 74 68 | 65 72 2c 20 61 6e 64 20 |ach .oth|er, and |
|000004a0| 61 20 73 69 6e 67 6c 65 | 20 62 69 74 20 63 61 6e |a single| bit can|
|000004b0| 6e 6f 74 20 64 69 73 74 | 69 6e 67 75 69 73 68 20 |not dist|inguish |
|000004c0| 6d 6f 72 65 20 74 68 61 | 6e 20 74 77 6f 20 64 65 |more tha|n two de|
|000004d0| 76 69 63 65 73 2e 0d 0d | 57 68 65 6e 20 69 74 20 |vices...|When it |
|000004e0| 62 6f 6f 74 73 2c 20 50 | 72 6f 44 4f 53 20 63 68 |boots, P|roDOS ch|
|000004f0| 65 63 6b 73 20 65 61 63 | 68 20 69 6e 74 65 72 66 |ecks eac|h interf|
|00000500| 61 63 65 20 63 61 72 64 | 20 28 6f 72 20 66 69 72 |ace card| (or fir|
|00000510| 6d 77 61 72 65 20 65 71 | 75 69 76 61 6c 65 6e 74 |mware eq|uivalent|
|00000520| 20 69 6e 20 0d 74 68 65 | 20 49 49 63 20 6f 72 20 | in .the| IIc or |
|00000530| 49 49 47 53 29 20 66 6f | 72 20 74 68 65 20 50 72 |IIGS) fo|r the Pr|
|00000540| 6f 44 4f 53 20 62 6c 6f | 63 6b 2d 64 65 76 69 63 |oDOS blo|ck-devic|
|00000550| 65 20 73 69 67 6e 61 74 | 75 72 65 20 62 79 74 65 |e signat|ure byte|
|00000560| 73 20 28 24 43 6e 30 31 | 20 3d 20 24 32 30 2c 20 |s ($Cn01| = $20, |
|00000570| 0d 24 43 6e 30 33 20 3d | 20 24 30 30 2c 20 61 6e |.$Cn03 =| $00, an|
|00000580| 64 20 24 43 6e 30 35 20 | 3d 20 24 30 33 29 2c 20 |d $Cn05 |= $03), |
|00000590| 73 6f 20 69 74 20 63 61 | 6e 20 69 6e 73 74 61 6c |so it ca|n instal|
|000005a0| 6c 20 74 68 65 20 61 70 | 70 72 6f 70 72 69 61 74 |l the ap|propriat|
|000005b0| 65 20 64 65 76 69 63 65 | 2d 64 72 69 76 65 72 20 |e device|-driver |
|000005c0| 0d 61 64 64 72 65 73 73 | 20 69 6e 20 74 68 65 20 |.address| in the |
|000005d0| 73 79 73 74 65 6d 20 67 | 6c 6f 62 61 6c 20 70 61 |system g|lobal pa|
|000005e0| 67 65 2e 20 20 49 66 20 | 74 68 65 20 73 69 67 6e |ge. If |the sign|
|000005f0| 61 74 75 72 65 20 62 79 | 74 65 73 20 6d 61 74 63 |ature by|tes matc|
|00000600| 68 2c 20 50 72 6f 44 4f | 53 20 74 68 65 6e 20 0d |h, ProDO|S then .|
|00000610| 63 68 65 63 6b 73 20 74 | 68 65 20 53 6d 61 72 74 |checks t|he Smart|
|00000620| 50 6f 72 74 20 73 69 67 | 6e 61 74 75 72 65 20 62 |Port sig|nature b|
|00000630| 79 74 65 20 28 24 43 6e | 30 37 20 3d 20 24 30 30 |yte ($Cn|07 = $00|
|00000640| 29 2c 20 61 6e 64 20 69 | 66 20 74 68 61 74 20 62 |), and i|f that b|
|00000650| 79 74 65 20 6d 61 74 63 | 68 65 73 20 0d 61 6e 64 |yte matc|hes .and|
|00000660| 20 74 68 65 20 69 6e 74 | 65 72 66 61 63 65 20 69 | the int|erface i|
|00000670| 73 20 69 6e 20 73 6c 6f | 74 20 35 20 28 6f 72 20 |s in slo|t 5 (or |
|00000680| 6c 6f 63 61 74 65 64 20 | 61 74 20 24 43 35 30 30 |located |at $C500|
|00000690| 20 69 6e 20 74 68 65 20 | 49 49 63 20 6f 72 20 49 | in the |IIc or I|
|000006a0| 49 47 53 29 2c 20 0d 50 | 72 6f 44 4f 53 20 64 6f |IGS), .P|roDOS do|
|000006b0| 65 73 20 61 20 53 6d 61 | 72 74 50 6f 72 74 20 53 |es a Sma|rtPort S|
|000006c0| 54 41 54 55 53 20 63 61 | 6c 6c 20 74 6f 20 64 65 |TATUS ca|ll to de|
|000006d0| 74 65 72 6d 69 6e 65 20 | 68 6f 77 20 6d 61 6e 79 |termine |how many|
|000006e0| 20 64 65 76 69 63 65 73 | 20 61 72 65 20 0d 63 6f | devices| are .co|
|000006f0| 6e 6e 65 63 74 65 64 20 | 74 6f 20 74 68 65 20 69 |nnected |to the i|
|00000700| 6e 74 65 72 66 61 63 65 | 2e 20 20 49 66 20 6f 6e |nterface|. If on|
|00000710| 6c 79 20 6f 6e 65 20 6f | 72 20 74 77 6f 20 64 72 |ly one o|r two dr|
|00000720| 69 76 65 73 20 61 72 65 | 20 63 6f 6e 6e 65 63 74 |ives are| connect|
|00000730| 65 64 20 74 6f 20 74 68 | 65 20 0d 69 6e 74 65 72 |ed to th|e .inter|
|00000740| 66 61 63 65 2c 20 50 72 | 6f 44 4f 53 20 69 6e 73 |face, Pr|oDOS ins|
|00000750| 74 61 6c 6c 73 20 69 74 | 73 20 62 6c 6f 63 6b 2d |talls it|s block-|
|00000760| 64 65 76 69 63 65 20 65 | 6e 74 72 79 20 70 6f 69 |device e|ntry poi|
|00000770| 6e 74 20 28 74 68 65 20 | 63 6f 6e 74 65 6e 74 73 |nt (the |contents|
|00000780| 20 6f 66 20 24 43 6e 46 | 46 20 0d 61 64 64 65 64 | of $CnF|F .added|
|00000790| 20 74 6f 20 24 43 6e 30 | 30 29 20 69 6e 20 74 68 | to $Cn0|0) in th|
|000007a0| 65 20 64 65 76 69 63 65 | 2d 64 72 69 76 65 72 20 |e device|-driver |
|000007b0| 76 65 63 74 6f 72 20 74 | 61 62 6c 65 2c 20 77 68 |vector t|able, wh|
|000007c0| 69 63 68 20 73 74 61 72 | 74 73 20 61 74 20 24 42 |ich star|ts at $B|
|000007d0| 46 31 30 2e 20 20 49 6e | 20 0d 74 68 69 73 20 70 |F10. In| .this p|
|000007e0| 61 72 74 69 63 75 6c 61 | 72 20 69 6e 73 74 61 6e |articula|r instan|
|000007f0| 63 65 2c 20 50 72 6f 44 | 4f 53 20 77 6f 75 6c 64 |ce, ProD|OS would|
|00000800| 20 70 75 74 20 74 68 65 | 20 76 65 63 74 6f 72 20 | put the| vector |
|00000810| 61 74 20 24 42 46 31 41 | 20 66 6f 72 20 73 6c 6f |at $BF1A| for slo|
|00000820| 74 20 35 2c 20 0d 64 72 | 69 76 65 20 31 2c 20 61 |t 5, .dr|ive 1, a|
|00000830| 6e 64 20 69 66 20 74 77 | 6f 20 64 72 69 76 65 73 |nd if tw|o drives|
|00000840| 20 77 65 72 65 20 66 6f | 75 6e 64 2c 20 61 74 20 | were fo|und, at |
|00000850| 24 42 46 32 41 20 66 6f | 72 20 73 6c 6f 74 20 35 |$BF2A fo|r slot 5|
|00000860| 2c 20 64 72 69 76 65 20 | 32 20 2e 0d 0d 49 66 20 |, drive |2 ...If |
|00000870| 74 68 65 20 69 6e 74 65 | 72 66 61 63 65 20 69 73 |the inte|rface is|
|00000880| 20 69 6e 20 73 6c 6f 74 | 20 35 20 61 6e 64 20 6d | in slot| 5 and m|
|00000890| 6f 72 65 20 74 68 61 6e | 20 74 77 6f 20 64 65 76 |ore than| two dev|
|000008a0| 69 63 65 73 20 61 72 65 | 20 63 6f 6e 6e 65 63 74 |ices are| connect|
|000008b0| 65 64 2c 20 50 72 6f 44 | 4f 53 20 0d 63 6f 70 69 |ed, ProD|OS .copi|
|000008c0| 65 73 20 74 68 65 20 73 | 61 6d 65 20 62 6c 6f 63 |es the s|ame bloc|
|000008d0| 6b 2d 64 65 76 69 63 65 | 20 65 6e 74 72 79 20 70 |k-device| entry p|
|000008e0| 6f 69 6e 74 20 74 68 61 | 74 20 69 74 20 75 73 65 |oint tha|t it use|
|000008f0| 73 20 66 6f 72 20 73 6c | 6f 74 20 35 2c 20 64 72 |s for sl|ot 5, dr|
|00000900| 69 76 65 73 20 31 20 61 | 6e 64 20 0d 32 20 69 6e |ives 1 a|nd .2 in|
|00000910| 20 74 68 65 20 64 65 76 | 69 63 65 20 64 72 69 76 | the dev|ice driv|
|00000920| 65 72 20 74 61 62 6c 65 | 20 65 6e 74 72 79 20 66 |er table| entry f|
|00000930| 6f 72 20 73 6c 6f 74 20 | 32 2c 20 64 72 69 76 65 |or slot |2, drive|
|00000940| 20 31 2c 20 61 6e 64 20 | 69 66 20 66 6f 75 72 20 | 1, and |if four |
|00000950| 64 72 69 76 65 73 20 61 | 72 65 20 0d 63 6f 6e 6e |drives a|re .conn|
|00000960| 65 63 74 65 64 2c 20 66 | 6f 72 20 73 6c 6f 74 20 |ected, f|or slot |
|00000970| 32 2c 20 64 72 69 76 65 | 20 32 2e 20 20 46 75 72 |2, drive| 2. Fur|
|00000980| 74 68 65 72 20 69 6e 20 | 74 68 65 20 62 6f 6f 74 |ther in |the boot|
|00000990| 20 70 72 6f 63 65 73 73 | 2c 20 69 66 20 50 72 6f | process|, if Pro|
|000009a0| 44 4f 53 20 66 69 6e 64 | 73 20 0d 74 68 65 20 69 |DOS find|s .the i|
|000009b0| 6e 74 65 72 66 61 63 65 | 20 6f 66 20 61 20 62 6c |nterface| of a bl|
|000009c0| 6f 63 6b 20 64 65 76 69 | 63 65 20 69 6e 20 73 6c |ock devi|ce in sl|
|000009d0| 6f 74 20 32 20 28 6e 6f | 74 20 70 6f 73 73 69 62 |ot 2 (no|t possib|
|000009e0| 6c 65 20 6f 6e 20 61 20 | 49 49 63 29 2c 20 69 74 |le on a |IIc), it|
|000009f0| 20 72 65 70 6c 61 63 65 | 73 20 0d 74 68 65 20 76 | replace|s .the v|
|00000a00| 65 63 74 6f 72 73 20 63 | 6f 70 69 65 64 20 66 72 |ectors c|opied fr|
|00000a10| 6f 6d 20 73 6c 6f 74 20 | 35 20 77 69 74 68 20 74 |om slot |5 with t|
|00000a20| 68 65 20 70 72 6f 70 65 | 72 20 64 65 76 69 63 65 |he prope|r device|
|00000a30| 2d 64 72 69 76 65 72 20 | 76 65 63 74 6f 72 73 20 |-driver |vectors |
|00000a40| 66 6f 72 20 73 6c 6f 74 | 20 0d 32 3b 20 74 68 69 |for slot| .2; thi|
|00000a50| 73 20 69 73 20 74 68 65 | 20 72 65 61 73 6f 6e 20 |s is the| reason |
|00000a60| 6d 69 72 72 6f 72 69 6e | 67 20 69 73 20 64 69 73 |mirrorin|g is dis|
|00000a70| 61 62 6c 65 64 20 69 66 | 20 74 68 65 72 65 20 69 |abled if| there i|
|00000a80| 73 20 61 20 50 72 6f 44 | 4f 53 20 64 65 76 69 63 |s a ProD|OS devic|
|00000a90| 65 20 69 6e 20 0d 73 6c | 6f 74 20 32 2e 20 20 4e |e in .sl|ot 2. N|
|00000aa0| 6f 74 65 20 74 68 61 74 | 20 6e 6f 6e 2d 50 72 6f |ote that| non-Pro|
|00000ab0| 44 4f 53 20 64 65 76 69 | 63 65 73 20 28 69 2e 65 |DOS devi|ces (i.e|
|00000ac0| 2c 20 73 65 72 69 61 6c | 20 63 61 72 64 73 20 61 |, serial| cards a|
|00000ad0| 6e 64 20 70 6f 72 74 73 | 2c 20 65 74 63 2e 29 20 |nd ports|, etc.) |
|00000ae0| 64 6f 20 0d 6e 6f 74 20 | 68 61 76 65 20 76 65 63 |do .not |have vec|
|00000af0| 74 6f 72 73 20 69 6e 73 | 74 61 6c 6c 65 64 20 69 |tors ins|talled i|
|00000b00| 6e 20 74 68 65 20 50 72 | 6f 44 4f 53 20 64 65 76 |n the Pr|oDOS dev|
|00000b10| 69 63 65 2d 64 72 69 76 | 65 72 20 74 61 62 6c 65 |ice-driv|er table|
|00000b20| 2c 20 73 6f 20 74 68 65 | 79 20 64 6f 20 6e 6f 74 |, so the|y do not|
|00000b30| 20 0d 69 6e 74 65 72 66 | 65 72 65 20 77 69 74 68 | .interf|ere with|
|00000b40| 20 6d 69 72 72 6f 72 69 | 6e 67 2e 0d 0d 57 68 65 | mirrori|ng...Whe|
|00000b50| 6e 20 50 72 6f 44 4f 53 | 20 6d 61 6b 65 73 20 61 |n ProDOS| makes a|
|00000b60| 6e 20 4d 4c 49 20 63 61 | 6c 6c 20 77 69 74 68 20 |n MLI ca|ll with |
|00000b70| 74 68 65 20 75 6e 69 74 | 5f 6e 75 6d 62 65 72 20 |the unit|_number |
|00000b80| 6f 66 20 61 20 6d 69 72 | 72 6f 72 65 64 20 64 65 |of a mir|rored de|
|00000b90| 76 69 63 65 2c 20 69 74 | 20 0d 73 65 74 73 20 75 |vice, it| .sets u|
|00000ba0| 70 20 74 68 65 20 63 61 | 6c 6c 20 74 6f 20 74 68 |p the ca|ll to th|
|00000bb0| 65 20 64 65 76 69 63 65 | 20 64 72 69 76 65 72 20 |e device| driver |
|00000bc0| 74 68 65 6e 20 67 6f 65 | 73 20 74 68 72 6f 75 67 |then goe|s throug|
|00000bd0| 68 20 74 68 65 20 76 65 | 63 74 6f 72 20 69 6e 20 |h the ve|ctor in |
|00000be0| 74 68 65 20 0d 64 65 76 | 69 63 65 2d 64 72 69 76 |the .dev|ice-driv|
|00000bf0| 65 72 20 74 61 62 6c 65 | 20 73 74 61 72 74 69 6e |er table| startin|
|00000c00| 67 20 61 74 20 24 42 46 | 30 30 2e 20 20 57 68 65 |g at $BF|00. Whe|
|00000c10| 6e 20 74 68 65 20 62 6c | 6f 63 6b 20 64 65 76 69 |n the bl|ock devi|
|00000c20| 63 65 20 64 72 69 76 65 | 72 20 28 6c 6f 63 61 74 |ce drive|r (locat|
|00000c30| 65 64 20 0d 6f 6e 20 74 | 68 65 20 69 6e 74 65 72 |ed .on t|he inter|
|00000c40| 66 61 63 65 20 63 61 72 | 64 20 6f 72 20 69 6e 20 |face car|d or in |
|00000c50| 74 68 65 20 66 69 72 6d | 77 61 72 65 29 20 67 65 |the firm|ware) ge|
|00000c60| 74 73 20 74 68 69 73 20 | 4d 4c 49 20 63 61 6c 6c |ts this |MLI call|
|00000c70| 2c 20 69 74 20 63 68 65 | 63 6b 73 20 74 68 65 20 |, it che|cks the |
|00000c80| 0d 75 6e 69 74 20 6e 75 | 6d 62 65 72 20 77 68 69 |.unit nu|mber whi|
|00000c90| 63 68 20 69 73 20 73 74 | 6f 72 65 64 20 61 74 20 |ch is st|ored at |
|00000ca0| 24 34 33 20 61 6e 64 20 | 76 65 72 69 66 69 65 73 |$43 and |verifies|
|00000cb0| 20 69 66 20 74 68 65 20 | 73 6c 6f 74 20 6e 75 6d | if the |slot num|
|00000cc0| 62 65 72 20 28 62 69 74 | 73 20 66 6f 75 72 2c 20 |ber (bit|s four, |
|00000cd0| 0d 66 69 76 65 2c 20 61 | 6e 64 20 73 69 78 29 20 |.five, a|nd six) |
|00000ce0| 69 73 20 74 68 65 20 73 | 61 6d 65 20 61 73 20 74 |is the s|ame as t|
|00000cf0| 68 61 74 20 6f 66 20 74 | 68 65 20 69 6e 74 65 72 |hat of t|he inter|
|00000d00| 66 61 63 65 2e 20 20 49 | 66 20 69 74 20 69 73 20 |face. I|f it is |
|00000d10| 6e 6f 74 2c 20 74 68 65 | 20 50 72 6f 44 4f 53 20 |not, the| ProDOS |
|00000d20| 0d 62 6c 6f 63 6b 20 64 | 65 76 69 63 65 20 64 72 |.block d|evice dr|
|00000d30| 69 76 65 72 20 6f 66 20 | 74 68 65 20 69 6e 74 65 |iver of |the inte|
|00000d40| 72 66 61 63 65 20 72 65 | 61 6c 69 7a 65 73 20 69 |rface re|alizes i|
|00000d50| 74 20 69 73 20 64 65 61 | 6c 69 6e 67 20 77 69 74 |t is dea|ling wit|
|00000d60| 68 20 61 20 6d 69 72 72 | 6f 72 65 64 20 0d 64 65 |h a mirr|ored .de|
|00000d70| 76 69 63 65 2c 20 69 6e | 74 65 72 6e 61 6c 6c 79 |vice, in|ternally|
|00000d80| 20 61 64 64 73 20 74 68 | 72 65 65 20 74 6f 20 74 | adds th|ree to t|
|00000d90| 68 65 20 73 6c 6f 74 20 | 6e 75 6d 62 65 72 20 61 |he slot |number a|
|00000da0| 6e 64 20 74 77 6f 20 74 | 6f 20 74 68 65 20 64 72 |nd two t|o the dr|
|00000db0| 69 76 65 20 6e 75 6d 62 | 65 72 2c 20 0d 74 68 65 |ive numb|er, .the|
|00000dc0| 6e 20 70 72 6f 63 65 73 | 73 65 73 20 69 74 2c 20 |n proces|ses it, |
|00000dd0| 72 65 74 75 72 6e 69 6e | 67 20 74 68 65 20 64 65 |returnin|g the de|
|00000de0| 73 69 72 65 64 20 69 6e | 66 6f 72 6d 61 74 69 6f |sired in|formatio|
|00000df0| 6e 20 6f 72 20 64 61 74 | 61 20 74 6f 20 50 72 6f |n or dat|a to Pro|
|00000e00| 44 4f 53 2e 0d 0d 49 66 | 20 61 6e 20 61 70 70 6c |DOS...If| an appl|
|00000e10| 69 63 61 74 69 6f 6e 20 | 6d 75 73 74 20 6d 61 6b |ication |must mak|
|00000e20| 65 20 64 69 72 65 63 74 | 20 64 65 76 69 63 65 2d |e direct| device-|
|00000e30| 64 72 69 76 65 72 20 63 | 61 6c 6c 73 20 28 73 6f |driver c|alls (so|
|00000e40| 6d 65 74 68 69 6e 67 20 | 77 68 69 63 68 20 69 73 |mething |which is|
|00000e50| 20 0d 6e 6f 74 20 65 6e | 63 6f 75 72 61 67 65 64 | .not en|couraged|
|00000e60| 29 2c 20 69 74 20 73 68 | 6f 75 6c 64 20 66 69 72 |), it sh|ould fir|
|00000e70| 73 74 20 63 68 65 63 6b | 20 64 65 76 6c 73 74 20 |st check| devlst |
|00000e80| 28 73 74 61 72 74 69 6e | 67 20 61 74 20 24 42 46 |(startin|g at $BF|
|00000e90| 33 32 29 20 74 6f 20 76 | 65 72 69 66 79 20 0d 74 |32) to v|erify .t|
|00000ea0| 68 61 74 20 74 68 65 20 | 75 6e 69 74 5f 6e 75 6d |hat the |unit_num|
|00000eb0| 62 65 72 20 69 73 20 66 | 72 6f 6d 20 61 6e 20 61 |ber is f|rom an a|
|00000ec0| 63 74 69 76 65 20 64 65 | 76 69 63 65 2e 20 20 49 |ctive de|vice. I|
|00000ed0| 6e 20 61 64 64 69 74 69 | 6f 6e 2c 20 74 68 65 20 |n additi|on, the |
|00000ee0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 0d 73 68 6f |applicat|ion .sho|
|00000ef0| 75 6c 64 20 6d 61 73 6b | 20 6f 66 66 20 6f 72 20 |uld mask| off or |
|00000f00| 69 67 6e 6f 72 65 20 74 | 68 65 20 6c 6f 77 20 6e |ignore t|he low n|
|00000f10| 69 62 62 6c 65 20 6f 66 | 20 65 6e 74 72 69 65 73 |ibble of| entries|
|00000f20| 20 69 6e 20 64 65 76 6c | 73 74 20 61 6e 64 20 6b | in devl|st and k|
|00000f30| 6e 6f 77 20 74 68 61 74 | 20 0d 6f 6e 65 20 6c 65 |now that| .one le|
|00000f40| 73 73 20 74 68 61 6e 20 | 74 68 65 20 6e 75 6d 62 |ss than |the numb|
|00000f50| 65 72 20 6f 66 20 64 65 | 76 69 63 65 73 20 69 6e |er of de|vices in|
|00000f60| 20 74 68 65 20 6c 69 73 | 74 20 69 73 20 73 74 6f | the lis|t is sto|
|00000f70| 72 65 64 20 61 74 20 24 | 42 46 33 31 20 28 64 65 |red at $|BF31 (de|
|00000f80| 76 63 6e 74 29 2e 20 20 | 0d 54 68 65 20 61 70 70 |vcnt). |.The app|
|00000f90| 6c 69 63 61 74 69 6f 6e | 20 74 68 65 6e 20 73 68 |lication| then sh|
|00000fa0| 6f 75 6c 64 20 75 73 65 | 20 74 68 65 20 75 6e 69 |ould use| the uni|
|00000fb0| 74 5f 6e 75 6d 62 65 72 | 20 74 6f 20 67 65 74 20 |t_number| to get |
|00000fc0| 74 68 65 20 70 72 6f 70 | 65 72 20 64 65 76 69 63 |the prop|er devic|
|00000fd0| 65 2d 0d 64 72 69 76 65 | 72 20 76 65 63 74 6f 72 |e-.drive|r vector|
|00000fe0| 20 66 72 6f 6d 20 74 68 | 65 20 50 72 6f 44 4f 53 | from th|e ProDOS|
|00000ff0| 20 67 6c 6f 62 61 6c 20 | 70 61 67 65 3b 20 74 68 | global |page; th|
|00001000| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 73 68 |e applic|ation sh|
|00001010| 6f 75 6c 64 20 6e 6f 74 | 20 0d 63 6f 6e 73 74 72 |ould not| .constr|
|00001020| 75 63 74 20 74 68 65 20 | 76 65 63 74 6f 72 20 69 |uct the |vector i|
|00001030| 74 73 65 6c 66 2c 20 62 | 65 63 61 75 73 65 20 74 |tself, b|ecause t|
|00001040| 68 69 73 20 76 65 63 74 | 6f 72 20 77 6f 75 6c 64 |his vect|or would|
|00001050| 20 62 65 20 69 6e 76 61 | 6c 69 64 20 66 6f 72 20 | be inva|lid for |
|00001060| 61 20 0d 6d 69 72 72 6f | 72 65 64 20 64 65 76 69 |a .mirro|red devi|
|00001070| 63 65 2e 0d 0d 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |ce...The| followi|
|00001080| 6e 67 20 63 6f 64 65 20 | 66 72 61 67 6d 65 6e 74 |ng code |fragment|
|00001090| 20 63 6f 72 72 65 63 74 | 6c 79 20 69 6c 6c 75 73 | correct|ly illus|
|000010a0| 74 72 61 74 65 73 20 74 | 68 69 73 20 74 65 63 68 |trates t|his tech|
|000010b0| 6e 69 71 75 65 2e 20 20 | 49 74 20 69 73 20 0d 77 |nique. |It is .w|
|000010c0| 72 69 74 74 65 6e 20 69 | 6e 20 36 35 30 32 20 61 |ritten i|n 6502 a|
|000010d0| 73 73 65 6d 62 6c 79 20 | 6c 61 6e 67 75 61 67 65 |ssembly |language|
|000010e0| 20 61 6e 64 20 61 73 73 | 75 6d 65 73 20 74 68 65 | and ass|umes the|
|000010f0| 20 75 6e 69 74 5f 6e 75 | 6d 62 65 72 20 69 73 20 | unit_nu|mber is |
|00001100| 69 6e 20 74 68 65 20 0d | 61 63 63 75 6d 75 6c 61 |in the .|accumula|
|00001110| 74 6f 72 2e 0d 0d 64 65 | 76 63 6e 74 20 20 20 20 |tor...de|vcnt |
|00001120| 65 71 75 20 20 20 20 24 | 42 46 33 31 0d 64 65 76 |equ $|BF31.dev|
|00001130| 6c 73 74 20 20 20 20 65 | 71 75 20 20 20 20 24 42 |lst e|qu $B|
|00001140| 46 33 32 0d 64 65 76 61 | 64 72 20 20 20 20 65 71 |F32.deva|dr eq|
|00001150| 75 20 20 20 20 24 42 46 | 31 30 0d 64 65 76 67 65 |u $BF|10.devge|
|00001160| 74 20 20 20 20 73 74 61 | 20 20 20 20 75 6e 69 74 |t sta| unit|
|00001170| 6e 6f 20 20 20 20 20 20 | 20 3b 20 73 74 6f 72 65 |no | ; store|
|00001180| 20 66 6f 72 20 6c 61 74 | 65 72 20 63 6f 6d 70 61 | for lat|er compa|
|00001190| 72 65 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 0d 20 |re instr|uction. |
|000011a0| 20 20 20 20 20 20 20 20 | 20 6c 64 78 20 20 20 20 | | ldx |
|000011b0| 64 65 76 63 6e 74 20 20 | 20 20 20 20 20 3b 20 67 |devcnt | ; g|
|000011c0| 65 74 20 63 6f 75 6e 74 | 2d 31 20 66 72 6f 6d 20 |et count|-1 from |
|000011d0| 24 42 46 33 31 0d 64 65 | 76 6c 6f 6f 70 20 20 20 |$BF31.de|vloop |
|000011e0| 6c 64 61 20 20 20 20 64 | 65 76 6c 73 74 2c 78 20 |lda d|evlst,x |
|000011f0| 20 20 20 20 3b 20 67 65 | 74 20 65 6e 74 72 79 20 | ; ge|t entry |
|00001200| 69 6e 20 6c 69 73 74 0d | 20 20 20 20 20 20 20 20 |in list.| |
|00001210| 20 20 61 6e 64 20 20 20 | 20 23 24 46 30 20 20 20 | and | #$F0 |
|00001220| 20 20 20 20 20 20 3b 20 | 6d 61 73 6b 20 6f 66 66 | ; |mask off|
|00001230| 20 6c 6f 77 20 62 79 74 | 65 0d 64 65 76 63 6f 6d | low byt|e.devcom|
|00001240| 70 20 20 20 63 6d 70 20 | 20 20 20 75 6e 69 74 6e |p cmp | unitn|
|00001250| 6f 20 20 20 20 20 20 20 | 3b 20 63 6f 6d 70 61 72 |o |; compar|
|00001260| 65 20 74 6f 20 74 68 65 | 20 75 6e 69 74 5f 6e 75 |e to the| unit_nu|
|00001270| 6d 62 65 72 20 77 65 20 | 66 69 6c 6c 65 64 20 69 |mber we |filled i|
|00001280| 6e 0d 20 20 20 20 20 20 | 20 20 20 20 62 65 71 20 |n. | beq |
|00001290| 20 20 20 67 6f 6f 64 6e | 75 6d 20 20 20 20 20 20 | goodn|um |
|000012a0| 3b 0d 20 20 20 20 20 20 | 20 20 20 20 64 65 78 0d |;. | dex.|
|000012b0| 20 20 20 20 20 20 20 20 | 20 20 62 70 6c 20 20 20 | | bpl |
|000012c0| 20 64 65 76 6c 6f 6f 70 | 20 20 20 20 20 20 3b 20 | devloop| ; |
|000012d0| 6c 6f 6f 70 20 61 67 61 | 69 6e 20 69 66 20 73 74 |loop aga|in if st|
|000012e0| 69 6c 6c 20 6c 65 73 73 | 20 74 68 61 6e 20 24 38 |ill less| than $8|
|000012f0| 30 0d 20 20 20 20 20 20 | 20 20 20 20 62 6d 69 20 |0. | bmi |
|00001300| 20 20 20 62 61 64 75 6e | 69 74 6e 6f 20 20 20 20 | badun|itno |
|00001310| 3b 20 65 72 72 6f 72 3a | 20 62 61 64 20 75 6e 69 |; error:| bad uni|
|00001320| 74 20 6e 75 6d 62 65 72 | 0d 67 6f 6f 64 6e 75 6d |t number|.goodnum|
|00001330| 20 20 20 6c 64 61 20 20 | 20 20 75 6e 69 74 6e 6f | lda | unitno|
|00001340| 20 20 20 20 20 20 20 3b | 20 67 65 74 20 67 6f 6f | ;| get goo|
|00001350| 64 20 63 6f 70 79 20 6f | 66 20 75 6e 69 74 5f 6e |d copy o|f unit_n|
|00001360| 75 6d 62 65 72 0d 20 20 | 20 20 20 20 20 20 20 20 |umber. | |
|00001370| 6c 73 72 20 20 20 20 61 | 20 20 20 20 20 20 20 20 |lsr a| |
|00001380| 20 20 20 20 3b 20 64 69 | 76 69 64 65 20 69 74 20 | ; di|vide it |
|00001390| 62 79 20 38 0d 20 20 20 | 20 20 20 20 20 20 20 6c |by 8. | l|
|000013a0| 73 72 20 20 20 20 61 20 | 20 20 20 20 20 20 20 20 |sr a | |
|000013b0| 20 20 20 3b 20 28 6e 6f | 74 20 73 69 78 74 65 65 | ; (no|t sixtee|
|000013c0| 6e 20 62 65 63 61 75 73 | 65 20 64 65 76 61 64 72 |n becaus|e devadr|
|000013d0| 20 65 6e 74 72 69 65 73 | 20 61 72 65 0d 20 20 20 | entries| are. |
|000013e0| 20 20 20 20 20 20 20 6c | 73 72 20 20 20 20 61 20 | l|sr a |
|000013f0| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 74 77 6f | | ; two|
|00001400| 20 62 79 74 65 73 20 77 | 69 64 65 29 0d 20 20 20 | bytes w|ide). |
|00001410| 20 20 20 20 20 20 20 74 | 61 78 0d 20 20 20 20 20 | t|ax. |
|00001420| 20 20 20 20 20 6c 64 61 | 20 20 20 20 64 65 76 61 | lda| deva|
|00001430| 64 72 2c 78 20 20 20 20 | 20 3b 20 6c 6f 77 20 62 |dr,x | ; low b|
|00001440| 79 74 65 20 6f 66 20 64 | 65 76 69 63 65 20 64 72 |yte of d|evice dr|
|00001450| 69 76 65 72 20 61 64 64 | 72 65 73 73 0d 20 20 20 |iver add|ress. |
|00001460| 20 20 20 20 20 20 20 73 | 74 61 20 20 20 20 61 64 | s|ta ad|
|00001470| 64 72 0d 20 20 20 20 20 | 20 20 20 20 20 6c 64 61 |dr. | lda|
|00001480| 20 20 20 20 64 65 76 61 | 64 72 2b 31 2c 78 20 20 | deva|dr+1,x |
|00001490| 20 3b 20 68 69 67 68 20 | 62 79 74 65 20 6f 66 20 | ; high |byte of |
|000014a0| 64 65 76 69 63 65 20 64 | 72 69 76 65 72 20 61 64 |device d|river ad|
|000014b0| 64 72 65 73 73 0d 20 20 | 20 20 20 20 20 20 20 20 |dress. | |
|000014c0| 73 74 61 20 20 20 20 61 | 64 64 72 2b 31 0d 20 20 |sta a|ddr+1. |
|000014d0| 20 20 20 20 20 20 20 20 | 72 74 73 0d 61 64 64 72 | |rts.addr|
|000014e0| 20 20 20 20 20 20 64 77 | 20 20 20 20 20 30 20 20 | dw| 0 |
|000014f0| 20 20 20 20 20 20 20 20 | 20 20 3b 20 61 64 64 72 | | ; addr|
|00001500| 65 73 73 20 77 69 6c 6c | 20 62 65 20 66 69 6c 6c |ess will| be fill|
|00001510| 65 64 20 69 6e 20 68 65 | 72 65 20 62 79 20 67 6f |ed in he|re by go|
|00001520| 6f 64 6e 75 6d 0d 75 6e | 69 74 6e 6f 20 20 20 20 |odnum.un|itno |
|00001530| 64 66 62 20 20 20 20 30 | 20 20 20 20 20 20 20 20 |dfb 0| |
|00001540| 20 20 20 20 3b 20 75 6e | 69 74 20 6e 75 6d 62 65 | ; un|it numbe|
|00001550| 72 20 73 74 6f 72 61 67 | 65 0d 0d 53 69 6d 69 6c |r storag|e..Simil|
|00001560| 61 72 6c 79 2c 20 61 70 | 70 6c 69 63 61 74 69 6f |arly, ap|plicatio|
|00001570| 6e 73 20 77 68 69 63 68 | 20 63 6f 6e 73 74 72 75 |ns which| constru|
|00001580| 63 74 20 66 69 72 6d 77 | 61 72 65 20 65 6e 74 72 |ct firmw|are entr|
|00001590| 79 20 70 6f 69 6e 74 73 | 20 66 72 6f 6d 20 75 73 |y points| from us|
|000015a0| 65 72 20 69 6e 70 75 74 | 20 0d 74 6f 20 22 73 6c |er input| .to "sl|
|000015b0| 6f 74 20 61 6e 64 20 64 | 72 69 76 65 22 20 71 75 |ot and d|rive" qu|
|000015c0| 65 73 74 69 6f 6e 73 20 | 77 69 6c 6c 20 6e 6f 74 |estions |will not|
|000015d0| 20 77 6f 72 6b 20 77 69 | 74 68 20 6d 69 72 72 6f | work wi|th mirro|
|000015e0| 72 65 64 20 64 65 76 69 | 63 65 73 2e 20 20 49 66 |red devi|ces. If|
|000015f0| 20 61 6e 20 0d 61 70 70 | 6c 69 63 61 74 69 6f 6e | an .app|lication|
|00001600| 20 77 69 73 68 65 73 20 | 74 6f 20 69 73 73 75 65 | wishes |to issue|
|00001610| 20 66 69 72 6d 77 61 72 | 65 2d 73 70 65 63 69 66 | firmwar|e-specif|
|00001620| 69 63 20 63 61 6c 6c 73 | 20 74 6f 20 61 20 64 65 |ic calls| to a de|
|00001630| 76 69 63 65 2c 20 69 74 | 20 73 68 6f 75 6c 64 20 |vice, it| should |
|00001640| 0d 6c 6f 6f 6b 20 61 74 | 20 74 68 65 20 68 69 67 |.look at| the hig|
|00001650| 68 20 62 79 74 65 20 6f | 66 20 74 68 65 20 64 65 |h byte o|f the de|
|00001660| 76 69 63 65 2d 64 72 69 | 76 65 72 20 74 61 62 6c |vice-dri|ver tabl|
|00001670| 65 20 65 6e 74 72 79 20 | 66 6f 72 20 74 68 61 74 |e entry |for that|
|00001680| 20 64 65 76 69 63 65 20 | 74 6f 20 0d 6f 62 74 61 | device |to .obta|
|00001690| 69 6e 20 74 68 65 20 70 | 72 6f 70 65 72 20 70 6c |in the p|roper pl|
|000016a0| 61 63 65 20 74 6f 20 63 | 68 65 63 6b 20 66 69 72 |ace to c|heck fir|
|000016b0| 6d 77 61 72 65 20 49 44 | 20 62 79 74 65 73 2e 20 |mware ID| bytes. |
|000016c0| 20 49 6e 20 74 68 65 20 | 73 61 6d 70 6c 65 20 63 | In the |sample c|
|000016d0| 6f 64 65 20 61 62 6f 76 | 65 2c 20 0d 74 68 65 20 |ode abov|e, .the |
|000016e0| 68 69 67 68 20 62 79 74 | 65 20 77 6f 75 6c 64 20 |high byt|e would |
|000016f0| 62 65 20 72 65 74 75 72 | 6e 65 64 20 69 6e 20 61 |be retur|ned in a|
|00001700| 64 64 72 2b 31 2e 20 20 | 46 6f 72 20 64 65 76 69 |ddr+1. |For devi|
|00001710| 63 65 73 20 6d 69 72 72 | 6f 72 65 64 20 74 6f 20 |ces mirr|ored to |
|00001720| 73 6c 6f 74 20 32 20 0d | 66 72 6f 6d 20 73 6c 6f |slot 2 .|from slo|
|00001730| 74 20 35 2c 20 74 68 69 | 73 20 74 65 63 68 6e 69 |t 5, thi|s techni|
|00001740| 71 75 65 20 77 69 6c 6c | 20 72 65 74 75 72 6e 20 |que will| return |
|00001750| 24 43 35 2c 20 61 6e 64 | 20 49 44 20 62 79 74 65 |$C5, and| ID byte|
|00001760| 73 20 77 6f 75 6c 64 20 | 74 68 65 6e 20 62 65 20 |s would |then be |
|00001770| 0d 63 68 65 63 6b 65 64 | 20 28 73 69 6e 63 65 20 |.checked| (since |
|00001780| 74 68 65 79 20 73 68 6f | 75 6c 64 20 61 6c 77 61 |they sho|uld alwa|
|00001790| 79 73 20 62 65 20 63 68 | 65 63 6b 65 64 20 62 65 |ys be ch|ecked be|
|000017a0| 66 6f 72 65 20 6d 61 6b | 69 6e 67 20 64 65 76 69 |fore mak|ing devi|
|000017b0| 63 65 2d 73 70 65 63 69 | 66 69 63 20 0d 63 61 6c |ce-speci|fic .cal|
|000017c0| 6c 73 29 20 69 6e 20 74 | 68 65 20 24 43 35 30 30 |ls) in t|he $C500|
|000017d0| 20 73 70 61 63 65 2e 20 | 20 41 70 70 6c 69 63 61 | space. | Applica|
|000017e0| 74 69 6f 6e 73 20 69 67 | 6e 6f 72 69 6e 67 20 74 |tions ig|noring t|
|000017f0| 68 69 73 20 74 65 63 68 | 6e 69 71 75 65 20 77 69 |his tech|nique wi|
|00001800| 6c 6c 20 0d 69 6e 63 6f | 72 72 65 63 74 6c 79 20 |ll .inco|rrectly |
|00001810| 63 68 65 63 6b 20 74 68 | 65 20 24 43 32 30 30 20 |check th|e $C200 |
|00001820| 73 70 61 63 65 2e 0d 0d | 0d 46 75 72 74 68 65 72 |space...|.Further|
|00001830| 20 52 65 66 65 72 65 6e | 63 65 0d 6f 20 20 20 20 | Referen|ce.o |
|00001840| 50 72 6f 44 4f 53 20 38 | 20 54 65 63 68 6e 69 63 |ProDOS 8| Technic|
|00001850| 61 6c 20 52 65 66 65 72 | 65 6e 63 65 20 4d 61 6e |al Refer|ence Man|
|00001860| 75 61 6c 0d 6f 20 20 20 | 20 50 72 6f 44 4f 53 20 |ual.o | ProDOS |
|00001870| 38 20 54 65 63 68 6e 69 | 63 61 6c 20 4e 6f 74 65 |8 Techni|cal Note|
|00001880| 20 23 32 31 2c 20 49 64 | 65 6e 74 69 66 79 69 6e | #21, Id|entifyin|
|00001890| 67 20 50 72 6f 44 4f 53 | 20 44 65 76 69 63 65 73 |g ProDOS| Devices|
|000018a0| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00001910| 61 6c 20 4e 6f 74 65 73 | 0d 0d 0d 09 4e 6f 76 65 |al Notes|....Nove|
|00001920| 6d 62 65 72 20 31 39 38 | 38 0d 0d 0d 0d 0d 31 20 |mber 198|8.....1 |
|00001930| 18 31 2e 20 44 44 49 4e | 49 54 45 78 70 61 6e 64 |.1. DDIN|ITExpand|
|00001940| 54 65 6d 70 46 69 6c 65 | 20 70 02 00 00 00 44 44 |TempFile| p....DD|
|00001950| 00 00 44 44 54 4d 44 44 | 41 50 01 00 00 c0 00 00 |..DDTMDD|AP......|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 00 00 a5 ca d1 3f 00 00 | 18 21 00 00 01 7e 72 74 |.....?..|.!...~rt|
|00001980| 09 31 20 6f 66 20 32 0d | 0d 0d 0d 0d 50 72 6f 44 |.1 of 2.|....ProD|
|00001990| 4f 53 20 38 0d 23 32 30 | 3a 20 20 4d 69 72 72 6f |OS 8.#20|: Mirro|
|000019a0| 72 65 64 20 44 65 76 69 | 63 65 73 20 61 6e 64 20 |red Devi|ces and |
|000019b0| 53 6d 61 72 74 50 6f 72 | 74 09 31 20 6f 66 20 32 |SmartPor|t.1 of 2|
|000019c0| 0d 0d 0d 0d 41 70 70 6c | 65 20 49 49 0d 54 65 63 |....Appl|e II.Tec|
|000019d0| 68 6e 69 63 61 6c 20 4e | 6f 74 65 73 0d 5f 5f 5f |hnical N|otes.___|
|000019e0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000019f0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001a00| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 c4 00 00 |...H..Mo|naco....|
|00001a10| 00 00 00 00 00 00 00 20 | 00 01 3a 30 00 00 00 01 |....... |..:0....|
|00001a20| 00 00 00 01 00 00 00 06 | 00 04 00 3c 00 24 01 dd |........|...<.$..|
|00001a30| 02 3d 00 3c 00 24 01 dd | 02 3d 9f cd af cd 00 00 |.=.<.$..|.=......|
|00001a40| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|00001a50| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 1c 10 4c |...L...L|...2...L|
|00001a60| 08 16 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00001a70| 00 0a 03 ed ff ff 00 00 | 00 00 00 1d 4a e8 00 00 |........|....J...|
+--------+-------------------------+-------------------------+--------+--------+